const environment = "prod";

// 请求接口地址列表
const POST_URL_LIST = {
  develop: "https://api.test.lilikq.com/ncrm",
  test: "https://api.test.lilikq.com/ncrm",
  prod: "https://kqapitest.bangzheng100.com/ncrm",
};

// 项目访问路径
const PROJECT_URL_LIST = {
  develop: "http://192.168.1.145:3000/",
  test: "https://m.test.lilikq.com/",
  prod: "https://kqapitest.bangzheng100.com/",
}

export default {
  method: "post",

  baseURL: POST_URL_LIST[environment] + "/",

  IMAGEURL: POST_URL_LIST[environment],

  url:PROJECT_URL_LIST[environment],

  // 请求头信息
  headers: {
    "Content-Type": "application/json;charset=UTF-8",
    /* 'X-Requested-With': 'XMLHttpRequest', */
    "Access-Control-Allow-Origin": "*",
  },

  // 参数
  data: {},

  // 设置超时时间
  timeout: 1000000000,

  // 携带凭证
  withCredentials: true,

  // 返回数据类型
  responseType: "json",
};
